package com.chlitina.store.modules.cash.model;

public class PayElement {
	private float totalProductPrice;
	private float totalCarePrice;
	private float totalPrice;

	private float realProductPrice;
	private float realCarePrice;
	private float realPrice;

	public float getTotalProductPrice() {
		return totalProductPrice;
	}

	public void setTotalProductPrice(float totalProductPrice) {
		this.totalProductPrice = totalProductPrice;
		setRealProductPrice(totalProductPrice);
	}

	public float getRealProductPrice() {
		return realProductPrice;
	}

	public void setRealProductPrice(float realProductPrice) {
		this.realProductPrice = realProductPrice;
	}

	public float getTotalCarePrice() {
		return totalCarePrice;
	}

	public void setTotalCarePrice(float totalCarePrice) {
		this.totalCarePrice = totalCarePrice;
		setRealCarePrice(totalCarePrice);
	}

	public float getRealCarePrice() {
		return realCarePrice;
	}

	public void setRealCarePrice(float realCarePrice) {
		this.realCarePrice = realCarePrice;
	}

	public float getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
		setRealPrice(totalPrice);
	}

	public float getRealPrice() {
		return realPrice;
	}

	public void setRealPrice(float realPrice) {
		this.realPrice = realPrice;
	}

	public void updateTotalPrice() {
		setTotalPrice(totalProductPrice + totalCarePrice);
	}
}
